<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <title>签到</title>
    <div data-th-replace="layout/head"></div>
</head>
<body>
    <header class="bar bar-nav">
        <a class="button button-link button-nav pull-left goBack" th:href="@{/mobile/index}">
            <span class="iconfont icon-fanhui"></span>
        </a>
        <h1 class='title'>签到</h1>
    </header>
    <input hidden id='isSign' th:value="${isSign}"/>

     <nav class="bar bar-tab">
         <section class="tab-item">
             <section class="pl5 pr5">
                 <a th:if="${isSign}" href="javascript:void(0)" class="button button-fill button-big button-round button-danger" style="top: 0;"> 已签到</a>
                 <a th:if="!${isSign}" href="javascript:void(0)" class="button button-fill button-big button-round button-danger" style="top: 0;" id="sign-button"> 签到</a>
             </section>
         </section>
     </nav>

   <div class="content wm-content">
        <section class="text-center">
            <h2 style="margin-bottom: 0;">
                <span class="c-333 vam">本月签到</span>
                <big class="c-red vam" id="month-sign-count">0</big>
                <span class="c-333 vam">天</span>
            </h2>
            <span class="fs7 c-888" id="sign-total">
                累计签到
                <span th:text="${signNum}"></span>
                天
            </span>
        </section>
        <section class="pr signPage__wrap">
            <div class="lecture-date__wrap">
                <section class="lecture-date-bx" id="lecture-date-bx"></section>
            </div>
        </section>
        <!--<article class="pl5 pr5 ml5 mr5">
            <section>
                <a th:if="${isSign}" href="javascript:void(0)" class="button button-fill button-big button-round" > 已签到</a>
                <a th:if="!${isSign}" href="javascript:void(0)" class="button button-fill button-big button-round" id="sign-button"> 签到</a>
            </section>
            <section class="mt5 pt5">
                <span class="fs6 c-bbb">签到及说明：</span>
                <section class="wm-desc-wrap" style="max-height: inherit;">
                    参与每日签到，可获得每日3分奖励，连续签到7日，可参与每日签到。
                </section>
            </section>
        </article>-->
    </div>
    <textarea id="sign-modal-ele" class="hide">
        <div class="sign-modal-banner"></div>
        <div class="text-center pt5 mt5 pb5">
            <section class="c-orange fs8 pt5">
                <span>学币 +</span>
                <span id="sigDay"style="font-size: 1.2rem">7</span>
            </section>
            <section>
                <span class="fs6 c-666">奖励勤奋签到学习的你，再接再厉！</span>
            </section>
        </div>
    </textarea>
    <div data-th-replace="layout/footer"></div>
    <script type="text/javascript" th:src="@{{path}/front/mobile/business/user/sign/sign.js?v={v}(path=${staticPath},v=${v})}" charset="utf-8"></script>
</body>
</html>